package cn.car.service;

import cn.car.domains.entity.CameraSnapshotEntity;

import java.util.Date;
import java.util.List;

public interface CameraSnapshotService {
    void storeImage(String ip, String imageFile);

    void insert(CameraSnapshotEntity cameraSnapshotEntity);

    List<Long> selectBeforeDate(Date offset);

    void deleteImage(List<Long> ids);

    CameraSnapshotEntity getLastSnapshot(String cameraIp, Date date);
}
